Ext.Loader.setConfig({
    enabled: true,
    paths: {
        'Ext': '/Jupiter/ext-4.0/src',
        'mvcCouch': 'app'
    }
});
Ext.require([
    'Ext.data.Store',
    'Ext.data.StoreManager',
    'Ext.data.HasManyAssociation',
    'Ext.data.BelongsToAssociation',
    'Ext.container.Viewport',
    'mvcCouch.model.Supplier',
    'Ext.grid.*',
    'Ext.util.*',
    'Ext.state.*',
    'Ext.form.*'
]);
Ext.application({
    name: 'mvcCouch',
    appFolder: 'app',
    controllers: [
        'Suppliers'
    ],
    launch: function() {
        Ext.create('Ext.container.Viewport', {
            layout: 'auto',
            items: [
                {
                    xtype: 'supplierlist'
                },
                {
                    xtype: 'suppliercontact'
                }
            ]
        });
    }
});